﻿@model PhotoBlogApp.Models.ClientModels.AlbumsM
@{
    ViewBag.Title = "365 Creative Group - Портфолио";
}
<div class="clearfix text-center" id="photos-loader" style="display: none;">
    <img id="loader-image" src="@Url.Content("~/Content/img/loading.gif")" width="42" />
</div>
<div class="row-albums">
    @foreach (var album in Model.AlbumMs)
    {
        <div class="row-album" id="album-@album.AlbumId">
            <div class="row-album__title">
                <a class="link" href="#album-@album.AlbumId">@album.Name</a>
            </div>
            @foreach (var photo in album.Photos)
            {
                <div class="img-b">
                    <img class="img_js" src="@photo.Url" data-fullimage="@photo.FullUrl" id="@photo.PhotoId" data-toggle="modal" data-target="#image-box" />
                </div>
            }
        </div>
    }
</div>